package com.ps.service;

import com.ps.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ps.vo.TreeNode;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-12-18
 */
public interface RoleService extends IService<Role> {
    boolean add(Role role);

    public List<TreeNode>getTreeData(Integer roleid);

    public Boolean grant(Integer roleid,Integer[]ids);
}
